home *** CD-ROM | disk | FTP | other *** search
/ ThrustMaster (Europe) (Press Kit) / ThrustMaster (Europe) (Press Kit).bin / progs / f16 / UTILS.SHR / RAWCODES.TXT < prev    next >
Encoding:
Text File  |  1995-07-12  |  8.7 KB  |  181 lines

  1.           *** STANDARD 101-KEY KEYBOARD SCAN CODES SEQUENCES ***
  2.                For Use with the 'RAW' Programming Function
  3.  
  4.                           ** Main Keyboard **
  5. ----------------------------------------------------------------------------
  6.   Key         Make Code                       Break Code         Notes
  7. ----------------------------------------------------------------------------
  8.   `              #0E                           #F0 #0E
  9.   1              #16                           #F0 #16
  10.   2              #1E                           #F0 #1E
  11.   3              #26                           #F0 #26
  12.   4              #25                           #F0 #25
  13.   5              #2E                           #F0 #2E
  14.   6              #36                           #F0 #36
  15.   7              #3D                           #F0 #3D
  16.   8              #3E                           #F0 #3E
  17.   9              #46                           #F0 #46
  18.   0              #45                           #F0 #45
  19.   -              #4E                           #F0 #4E
  20.   =              #55                           #F0 #55
  21.   Backspace      #66                           #F0 #66
  22.  
  23.   Tab            #0D                           #F0 #0D
  24.   Q              #15                           #F0 #15
  25.   W              #1D                           #F0 #1D
  26.   E              #24                           #F0 #24
  27.   R              #2D                           #F0 #2D
  28.   T              #2C                           #F0 #2C
  29.   Y              #35                           #F0 #35
  30.   U              #3C                           #F0 #3C
  31.   I              #43                           #F0 #43
  32.   O              #44                           #F0 #44
  33.   P              #4D                           #F0 #4D
  34.   [              #54                           #F0 #54
  35.   ]              #5B                           #F0 #5B
  36.   \              #5D                           #F0 #5D
  37.  
  38.   Caps Lock      #58                           #F0 #58
  39.   A              #1C                           #F0 #1C
  40.   S              #1B                           #F0 #1B
  41.   D              #23                           #F0 #23
  42.   F              #2B                           #F0 #2B
  43.   G              #34                           #F0 #34
  44.   H              #33                           #F0 #33
  45.   J              #3B                           #F0 #3B
  46.   K              #42                           #F0 #42
  47.   L              #4B                           #F0 #4B
  48.   ;              #4C                           #F0 #4C
  49.   '              #52                           #F0 #52
  50.   Enter          #5A                           #F0 #5A
  51.  
  52.   Left Shift     #12                           #F0 #12
  53.   Z              #1A                           #F0 #1A
  54.   X              #22                           #F0 #22
  55.   C              #21                           #F0 #21
  56.   V              #2A                           #F0 #2A
  57.   B              #32                           #F0 #32
  58.   N              #31                           #F0 #31
  59.   M              #3A                           #F0 #3A
  60.   ,              #41                           #F0 #41
  61.   .              #49                           #F0 #49
  62.   /              #4A                           #F0 #4A
  63.   Right Shift    #59                           #F0 #59
  64.  
  65.   Left Ctrl      #14                           #F0 #14
  66.   Left Alt       #11                           #F0 #11
  67.   Space          #29                           #F0 #29
  68.   Right Alt      #E0 #11                       #E0 #F0 #11
  69.   Right Ctrl     #E0 #14                       #E0 #F0 #14
  70.   ESC            #76                           #F0 #76
  71. ----------------------------------------------------------------------------
  72.  
  73.  
  74.                           ** Function Keys **
  75. ----------------------------------------------------------------------------
  76.   Key         Make Code                       Break Code        Notes
  77. ----------------------------------------------------------------------------
  78.   F1             #05                           #F0 #05
  79.   F2             #06                           #F0 #06
  80.   F3             #04                           #F0 #04
  81.   F4             #0C                           #F0 #0C
  82.   F5             #03                           #F0 #03
  83.   F6             #0B                           #F0 #0B
  84.   F7             #83                           #F0 #83
  85.   F8             #0A                           #F0 #0A
  86.   F9             #01                           #F0 #01
  87.   F10            #09                           #F0 #09
  88.   F11            #78                           #F0 #78
  89.   F12            #07                           #F0 #07
  90. ----------------------------------------------------------------------------
  91.  
  92.  
  93.                             ** Numeric Pad **
  94. ----------------------------------------------------------------------------
  95.   Key         Make Code                       Break Code         Notes
  96. ----------------------------------------------------------------------------
  97.   NumLok         #77                           #F0 #77
  98.   KP-            #7B                           #F0 #7B
  99.   KP/            #E0 #4A                       #E0 #F0 #4A     Notes 1, 2
  100.   KP.            #71                           #F0 #71
  101.   KP*            #7C                           #F0 #7C
  102.   KP+            #79                           #F0 #79
  103.   KPEnter        #E0 #5A                       #E0 #F0 #5A
  104.  
  105.   KP0            #70                           #F0 #70
  106.   KP1            #69                           #F0 #69
  107.   KP2            #72                           #F0 #72
  108.   KP3            #7A                           #F0 #7A
  109.   KP4            #6B                           #F0 #6B
  110.   KP5            #73                           #F0 #73
  111.   KP6            #74                           #F0 #74
  112.   KP7            #6C                           #F0 #6C
  113.   KP8            #75                           #F0 #75
  114.   KP9            #7D                           #F0 #7D
  115. -----------------------------------------------------------------------------
  116.  
  117.  
  118.                            ** Auxiliary Pads **
  119. ----------------------------------------------------------------------------
  120.   Key           Make Code                      Break Code        Notes
  121. ----------------------------------------------------------------------------
  122.   Ins            #E0 #70                       #E0 #F0 #70    Notes 1, 2, 3
  123.   Home           #E0 #6C                       #E0 #F0 #6C    Notes 1, 2, 3
  124.   Pg Up          #E0 #7D                       #E0 #F0 #7D    Notes 1, 2, 3
  125.   Del            #E0 #71                       #E0 #F0 #71    Notes 1, 2, 3
  126.   End            #E0 #69                       #E0 #F0 #69    Notes 1, 2, 3
  127.   Pg Dn          #E0 #7A                       #E0 #F0 #7A    Notes 1, 2, 3
  128.  
  129.   Up Arrow       #E0 #75                       #E0 #F0 #75    Notes 1, 2, 3
  130.   Left Arrow     #E0 #6B                       #E0 #F0 #6B    Notes 1, 2, 3
  131.   Right Arrow    #E0 #74                       #E0 #F0 #74    Notes 1, 2, 3
  132.   Down Arrow     #E0 #72                       #E0 #F0 #72    Notes 1, 2, 3
  133.  
  134.   PrtSc          #E0 #12 #E0 #7C               #E0 #F0 #7C #E0 #F0 #12
  135.   Ctl-PrtSc      #E0 #7C                       #E0 #F0 #7C
  136.   Alt-PrtSc      #84                           #E0 #84
  137.   ScrLk          #7E                           #F0 #7E
  138.   Pause          #E1 #14 #77 #E1 #F0 #14 #77   None
  139.   Ctrl-Break     #E0 #7E #E0 #F0 #7E           None
  140.  
  141. ----------------------------------------------------------------------------
  142.  
  143.  
  144.                                 ** Notes **
  145. ----------------------------------------------------------------------------
  146.  
  147.   The actual keyboard makes certain modifications to some of the key code
  148.   sequences depending on the Shift and NumLock states. These can normally
  149.   be ignored in using the RAW codes with the FLCS, but are included here
  150.   for completeness. They only apply where there is an entry in the 'Notes'
  151.   column for the key of interest.
  152.  
  153.   The '#** #**' entry represesnts the Make Code and the '#** #** #**' entry
  154.   represents the  Break Code specified for the character in the main chart
  155.   and should be replaced with those sequences in actual use.
  156.  
  157.  
  158.   Note 1
  159.  
  160.      If Left Shift is Down:
  161.  
  162.         Make Sequence - #E0 #F0 #12 #** #**
  163.        Break Sequence _ #** #** #** #E0 #12
  164.  
  165.   Note 2
  166.  
  167.     If Right Shift is Down:
  168.  
  169.         Make Sequence - #E0 #F0 #59 #** #**
  170.        Break Sequence - #** #** #** #E0 #59
  171.  
  172.   Note 3
  173.  
  174.     If Num Lock is On:
  175.  
  176.         Make Sequence - #E0 #12 #** #**
  177.        Break Sequence - #** #** #** #E0 #F0 #12
  178.  
  179. -----------------------------------------------------------------------------
  180.                             -- End of Document --
  181.